import { LoginType } from '@/store/action/login';
import request from '@/utils/request';

export function mobileCode(mobile: string) {
  return request({
    url: '/v1_0/sms/codes/' + mobile,
  });
}
export function Login(data: LoginType) {
  return request({
    url: '/v1_0/authorizations',
    method: 'post',
    data,
  });
}
